Exercises: Exercises 5: Sequences & For Loops
This week has 3 exercise notebooks:
A_ex_misc_sequences.ipynb
is not associated with a particular lecture, but gives you practice with indexing, lists, and therange
function which you'll be using in the other notebooks.B_ex_lab_loops.ipynb
for Lab 5.C_ex_lec_for_loops.ipynb
for the Sequences & Loops Lecture.
You should finish most of them before starting project 5 because they will help you succeed on that project.
There are a lot of exercises this week, but many of them should be fairly trivial: we're trying to help build up your mental-muscle-memory for a few new concepts by giving you plenty of simple practice.
Code
Click on this
ex05_sequences_and_loops.zip link
to download the .zip file for this week to your computer. Unzip the
downloaded ex05_sequences_and_loops.zip
file (by double-clicking on it) to reveal a
folder with the notebook file(s) for these exercises.
Solutions
Once you have completed all exercises and the deadline has passed, you can find links to the solutions for each individual notebook via the Potluck dashboard.